﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Admin72H;
namespace Admin72H.Controls.CommonControl
{
    public partial class UCMenu : System.Web.UI.UserControl
    {
        public string WebTab_bgr = string.Empty;
        public string AccountActivedTab_bgr = string.Empty;
        public string ListBrokerTab = string.Empty;
        public string ExistAccountTab_bgr = string.Empty;
        public string ReportTab_bgr = string.Empty;
        public string AccountList = string.Empty;
        public string Config = string.Empty;
        public string CashAdvance = string.Empty;
        public string ResearchTab = string.Empty;
        protected void Page_Load(object sender, EventArgs e)
        {            
            SetCurrentMenu();
            LoadPermission();
        }
        void LoadPermission()
        {
            
        }
        protected void SetCurrentMenu()
        {
            //WebTab_bgr = string.Empty;
            //AccountActivedTab_bgr = string.Empty;
            //ListBrokerTab = string.Empty;
            //ExistAccountTab_bgr = string.Empty;
            //ReportTab_bgr = string.Empty;
            //AccountList = string.Empty;
            //Config = string.Empty;
            //CashAdvance = string.Empty;
            //ResearchTab = string.Empty;
            //switch (CurrentMenu.Trim())
            //{
            //    //case PageConst.PAGES_VAR_PRODUCTPRICENEWSLIST:
            //    //    MenuProductPriceNews.Attributes["class"] = "ddcolortabs_selected";
            //    //    break;
            //    //case PageConst.PAGES_VAR_USERLIST:
            //    //    MenuUser.Attributes["class"] = "ddcolortabs_selected";
            //    //    break;
            //    //default:
            //    //    MenuSystemUser.Attributes["class"] = "ddcolortabs_selected";
            //    //    break;
            //}
        }
        //public string CurrentMenu
        //{
        //    get { return lblCachedCurrent.Value; }
        //    set { lblCachedCurrent.Value = value; }
        //}
    }
}